﻿
using System.Text.Json.Serialization;

namespace Grasp.Xzg.LogicApi.Products
{

    public class ProductCategoryDto
    {
        /// <summary>
        /// ID
        /// </summary>
        [JsonPropertyName("cate_id")]
        public long Id { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        [JsonPropertyName("code")]
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [JsonPropertyName("name")]
        public string Name { get; set; }

        /// <summary>
        /// 拼音码
        /// </summary>
        [JsonPropertyName("pinyin_code")]
        public string PyCode { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public long? CreatorUserId { get; set; }

        /// <summary>
        /// 父级主键
        /// </summary>
        public long PId { get; set; }
    }
}